package com.czz.manage;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName: CourseApplication
 * @Author Czz
 * @Date 2019/12/29
 * @Time 11:07
 **/
@SpringBootApplication
@EnableDiscoveryClient
//开启feign远程调用
@EnableFeignClients
@ComponentScan(basePackages = {"com.czz.manage","com.czz.common"})
public class ManageApplication {
    public static void main(String[] args) {
        SpringApplication.run(ManageApplication.class);
    }
}
